package io.geekidea.boot.outbound.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.geekidea.boot.outbound.dto.OutboundExcel;
import io.geekidea.boot.outbound.entity.Outbound;
import io.geekidea.boot.outbound.query.OutboundQuery;
import io.geekidea.boot.warehousentry.dto.StatisticsDto;
import io.geekidea.boot.warehousentry.dto.WarehousentryExcel;
import io.geekidea.boot.warehousentry.query.WarehousentryQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OutboundService extends IService<Outbound> {
    Page<Outbound> getOutboundPageList(Page<Outbound> page, @Param("param") OutboundQuery outboundQuery);
    int delById(Integer id);

    List<OutboundExcel> getDownloadList(OutboundQuery outboundQuery);

    int getSingularCount(WarehousentryQuery warehousentryQuery);
    List<StatisticsDto> getWeekCount(WarehousentryQuery warehousentryQuery);
}